package com.ctrip.demo.asm;

import java.util.ArrayList;
import java.util.List;
import java.util.Objects;

public class TestAsm {

    public static void main(String[] args) {
        System.out.println("HEllO ASM");

        System.out.println(0 < 1);


        List<String> list = new ArrayList<>();
        list.add("战法是吧");
        list.add("zhangsan");
        list.add(null);
        list.add("类似");

        list.stream().filter(Objects::nonNull).forEach(System.out::println);

        for (String s : list) {
            if (s == null) {
                continue;
            }
            System.out.println(s);
        }

    }
}
